﻿// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>MyCompany.MyProject</Solution>
// <Project>MyCompany.MyProject.Application</Project>
// <FileName>UpgradeUserToAgentRequestDto.cs</FileName>
// <CreateTime>2017-04-25 16:23</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-04-25 16:23" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>
namespace Vecen.BangChuang.BangChuang.Agents.Dtos {
    /// <summary>
    /// 升级普通用户为代理商请求参数
    /// </summary>
    public class UpgradeUserToAgentRequestDto {
        /// <summary>
        /// 调整的用户ID
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 要调整的代理级别
        /// <remarks>
        /// 可选值:FirstAgentUser,SecondAgentUser
        /// 
        /// App端可不传,默认SecondAgentUser
        /// </remarks>
        /// </summary>
        [UserTypeRange]
        public string UserType { get; set; } = BangChuang.UserType.SecondAgentUser;


        /// <summary>
        /// 省份ID
        /// </summary>
        public long? ProvinceId { get; set; }
        /// <summary>
        /// 代理城市ID
        /// </summary>
        public long? CityId { get; set; }


        /// <summary>
        /// 区县ID
        /// </summary>
        public long? DistrictId { get; set; }


        /// <summary>
        /// 是否是学生
        /// </summary>
        /// <returns></returns>
        public bool IsStudent { get; set; }

        /// <summary>
        /// 学校
        /// </summary>
        /// <returns></returns>
        public string UniversityName { get; set; }

        /// <summary>
        /// 学院
        /// </summary>
        /// <returns></returns>
        public string CollegeName { get; set; }

        /// <summary>
        /// 队长ID
        /// </summary>
        public int? ParentAgentId { get; set; }
    }
}